Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
slack-client
Advanced tools
Hi all,
First of all, thanks for using this library :) We really appreciate all the developers out there who want to integrate with Slack and build cool bots and tools.
I've been working on a substantial refactor of the existing node-client library for the past little while and it's now at the point where getting your feedback would be fantastic.
That refactor is located on my personal github.
The refactor has 3 main goals:
There are still some issues outstanding on the refactor, which can be seen here
What would be great to get some help on is:
This is a Slack client library for Node.js. It's intended to expose all of the functionality of Slack's Real Time Messaging API while providing some common abstractions and generally making your life easier, if you want it to.
This code has been built to support our hubot-slack adapter. Most other functionality isn't yet supported, and documentation is minimal, at best.
npm install slack-client --save
Slack = require 'slack-client'
slackToken = 'xoxb-YOUR-TOKEN-HERE' # Add a bot at https://my.slack.com/services/new/bot and copy the token here.
autoReconnect = true # Automatically reconnect after an error response from Slack.
autoMark = true # Automatically mark each message as read after it is processed.
slack = new Slack(slackToken, autoReconnect, autoMark)
slack.on 'open', ->
console.log "Connected to #{slack.team.name} as @#{slack.self.name}"
slack.on 'message', (message) ->
console.log message
slack.on 'error', (err) ->
console.error "Error", err
slack.login()
A full example of how to use this module from Node.js can be found in the /examples directory.
Here's the most direct way to get your work merged into the project.
Copyright © Slack Technologies, Inc. MIT License; see LICENSE for further details.
FAQs
A library for creating a Slack client
We found that slack-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.